#ifndef __INCLUDES_H__
#define	__INCLUDES_H__

#include "stm32f10x.h"
#include "stm32f10x_tim.h"
#include "stm32f10x_gpio.h"
#include "stm32f10x_rcc.h"
#include "math.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "delay.h"
#include "timer.h"
#include "myuart.h"
#include "dht11.h"
#include "GA6.h"
#include "myIIC.h"
#include "OLED_I2C.h"
#include "driver.h"
#include "mfrc522.h"

#define RFID_ERROR 	0
#define TEMP_ERROR 	1
#define GA6_BEEP 		2
#define GA6_LED 		3
#define GA6_DOOR 		4

#define TASK_END 		GA6_DOOR
#define MAX_TASK (TASK_END+1)

typedef void (*task_p)(void) ;
typedef struct
{
	int type;
	task_p fun_p;
}Envent_Typedef;




#endif
